Automated Reverse Engineering of Hard-Coded GUI Layouts
نویسنده
چکیده
Most GUIs are specified in the form of source code, which hard-codes information relating to the layout of graphical controls. This representation is very lowlevel, and makes GUIs hard to maintain. We suggest a reverse engineering approach that is able to recover a higher-level layout representation of a hardcoded GUI using the Auckland Layout Model, which is based on the mathematical notion of linear programming. This approach allows developers to use existing code and existing tools, as well as specifications on a higher level of abstraction. We show how existing hard-coded GUIs can be extended to support dynamic layout adjustment with very little effort, and how GUIs can be beautified automatically during reverse engineering.
منابع مشابه
SITAR: GUI Test Script Repair
System testing of a GUI-based application requires that test cases, consisting of sequences of user actions/events, be executed and the software’s output be verified. To enable automated re-testing, such test cases are increasingly being coded as low-level test scripts, to be replayed automatically using test harnesses. Whenever the GUI changes—widgets get moved around, windows get merged—some ...
متن کاملToward Mining Visual Log of Software
In this paper, we define visual log of a software system as data capturing the interactions between its users and its graphic user interface (GUI), such as screen-shots and screen recordings. We vision that mining such visual log could be useful for bug reproducing and debugging, automated GUI testing, user interface designing, question answering of common usages in software support, etc. Towar...
متن کاملGUI Ripping: Reverse Engineering of Graphical User Interfaces for Testing
Graphical user interfaces (GUIs) are important parts of today’s software and their correct execution is required to ensure the correctness of the overall software. A popular technique to detect defects in GUIs is to test them by executing test cases and checking the execution results. Test cases may either be created manually or generated automatically from a model of the GUI. While manual test...
متن کاملPerformance Analysis of Dynamic and Static Facility Layouts in a Stochastic Environment
In this paper, to cope with the stochastic dynamic (or multi-period) problem, two new quadratic assignment-based mathematical models corresponding to the dynamic and static approaches are developed. The product demands are presumed to be dependent uncertain variables with normal distribution having known expectation, variance, and covariance that change from one period to the next one, randomly...
متن کاملIndustrial Adoption of Automatically Extracted GUI Models for Testing
Crafting the models for effective model-based testing (MBT) requires deep understanding of the problem domain and expertise on formal modeling, and creating the models manually from the scratch requires a significant amount of effort. When an existing system is being modeled and tested, there are various techniques to automate the process of producing the models based on the implementation. Esp...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2008